package com.yhs.YShop.model;

import java.io.Serializable;
import java.util.List;
/**
 * 权限表
 * @author Administrator
 *
 */
public class Operation implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8225799450185663649L;

	
	private Integer id;
	private Integer parentId;//父ID
	private String name;//操作名称
	private String code;// 操作编码
	private String type;//类型
	private Integer parentMenuId;//菜单ID
	private Integer sort;//操作排序 越小越靠前
	private Integer permType;
	private String url;//URL地址
	
	private List<Operation> childOperations;
	
	
	public List<Operation> getChildOperations() {
		return childOperations;
	}
	public void setChildOperations(List<Operation> childOperations) {
		this.childOperations = childOperations;
	}
	public Integer getPermType() {
		return permType;
	}
	public void setPermType(Integer permType) {
		this.permType = permType;
	}
	public Integer getId() {
		return id;
	}
	
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Integer getParentMenuId() {
		return parentMenuId;
	}
	public void setParentMenuId(Integer parentMenuId) {
		this.parentMenuId = parentMenuId;
	}
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
	
	
	
	
}
